package com.bwie.goods.mapper;

import com.bwie.common.domain.Shop;
import com.bwie.common.domain.Shopping;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShopMapper {
    List<Shop> list();



    Shopping shoppingList();


    Integer ShoppingUpdate(Shopping shoppings);

    Integer ShoppingAdd(Shopping shopping);

    Shop ShoppingList(@Param("id") Integer id);

    void updateShopNumber(Shop shops);

    Integer ShopUpFlag(@Param("id") Integer id);

    Integer ShopUpdateFlag(@Param("id") Integer id);

    Shop findByFlagId(@Param("id") Integer id);
}
